<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>职业管理</title>
    <meta name="keywords" content="manager,service,manage"/>
    <meta name="description" content="职业管理,职业,职业管理"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="stylesheet" href="./assets/css/validationEngine.jquery.css" type="text/css">
    <link rel="stylesheet" href="./assets/css/datepicker.css"/>
    <style>
        /*<!--table{-->*/
            /*<!--table-layout:fixed;-->*/
        /*<!--}-->*/
        /*<!--td{-->*/
            /*<!--overflow:hidden;-->*/
            /*<!--text-overflow:ellipsis;-->*/
            /*<!--white-space:nowrap;-->*/
        /*<!--}-->*/
        /*<!--@media screen and (min-width:768px){-->*/
            /*<!--.modal-dialog{-->*/
                /*<!--right:auto;left:50%;width:690px;padding-top:30px;padding-bottom: 30px;-->*/
            /*<!--}-->*/
        /*<!--}-->*/
        .btn-group>.btn>.caret{margin-top:0;}
    </style>
    <script src="./assets/js/jquery.validationEngine-zh_CN.js" type="text/javascript" charset="utf-8"></script>
    <script src="./assets/js/jquery.validationEngine.js" type="text/javascript" charset="utf-8"></script>
    <!-- basic styles -->
</head>
<body>
<div class="page-content page-content2">
    <div class="row">
        <div class="col-xs-12 topSearch">
            <form id="yuanfenFormId" class="form-horizontal" role="form">
                <div class="input-group input-group-sm input-group-sm3">
                    <span class="input-group-addon group-addon">职业名称</span>
                    <span class="spanIcons"></span>
                    <input type="text" class="form-control form-control-two" id="desc">
                </div>

                <!--<div class="input-group input-group-sm input-group-sm3">-->
                    <!--<span class="input-group-addon group-addon">显示状态</span>-->
                    <!--<span class="spanIcons"></span>-->
                    <!--<select class="selectClassify form-control form-control-two" id="signStatus">-->
                        <!--<option></option>-->
                        <!--<option value="0">隐藏</option>-->
                        <!--<option value="1">显示中</option>-->
                    <!--</select>-->
                <!--</div>-->

                <div class="input-group input-group-sm input-group-sm3" style="margin-left: 10px;">
                    <button id="dataSearch" class="btn btn-primary btn-sm" title="职业查询">
                        <i class="icon-search nav-search-icon"></i>
                    </button>
                    <button id="dataAdd" type="button" class="btn btn-primary btn-sm"
                            data-toggle="modal" data-target="#addModal" title="职业添加">
                        <i class="icon-plus-sign bigger-120"></i>
                    </button>
                    <button id="upDate" type="button" class="btn btn-primary btn-sm"
                            data-toggle="modal" data-target="#updateModal" disabled
                            title="职业修改">
                        <i class="icon-pencil bigger-130"></i>
                    </button>
                    </button>
                    <!--<button id="dataDelete" type="button" class="btn btn-sm btn-danger"-->
                            <!--data-toggle="modal" data-target="#deleteModal" disabled-->
                            <!--title="职业删除">-->
                        <!--<i class="icon-trash bigger-130"></i>-->
                    <!--</button>-->
                </div>
            </form>

            <div class="row" style="margin-top: 0px;">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <table id="industry_table" class="table"></table>
                    <!-- PAGE CONTENT ENDS -->
                </div>
                <!-- /.col -->
            </div>
        </div>
    </div>
    <!-- /.row -->
</div>
<!-- /.page-content -->

<!-- 添加的modal start-->
<div class="modal fade bs-example-modal-lg" id="addModal" tabindex="-1">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="addModalLabel">添加职业</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="addForm" data-type="add">

                    <div class="form-group">
                        <label class="col-sm-2 control-label">职业名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="validate[required] form-control" name="addName" id="addName"
                                   placeholder="请输入内容">
                        </div>
                    </div>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" name="submit" data-type="add">保存</button>
                <!--  <button type="reset" class="btn btn-warnning">重置</button> -->
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

            </div>
        </div>
    </div>
</div>
<!-- 添加的modal end-->

<!-- 修改的modal start-->
<div class="modal fade bs-example-modal-lg" id="updateModal" tabindex="-1">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="updateModalLabel">修改职业</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="upDateForm" data-type="update">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">职业ID</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="addName" id="upDateId"
                                   placeholder="请输入内容" readonly>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">职业名称</label>
                        <div class="col-sm-10">
                            <input type="text" class="validate[required] form-control" name="addName" id="upDateName"
                                   placeholder="请输入内容">
                        </div>
                    </div>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" name="submit" data-type="update">保存</button>
                <!--  <button type="reset" class="btn btn-warnning">重置</button> -->
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>

            </div>
        </div>
    </div>
</div>
<!-- 修改的modal end-->

<!-- 删除的modal start-->
<div class="modal fade" id="deleteModal" tabindex="-1">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">删除职业</h4>
            </div>
            <!--Form的id为myForm-->
            <form id="deleteForm" data-type="delete">
                <div class="modal-body">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" name="submit" data-type="delete">确认</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 删除的modal end-->
<script src="./assets/js/date-time/bootstrap-datepicker.min.js"></script>
<script src="script/industryManage.js"></script>
</body>
</html>
